#ifndef _COMMENTTYPE_H_
#define _COMMENTTYPE_H_
#include "SimpleNode.h"
#include "AstTypes.h"
class IVisitor;
class commentType;
typedef QSharedPointer<commentType> commentTypePtr;

class commentType: public SimpleNode
{
public:
    explicit commentType(const QString& id, int nodeId=-1);
    virtual ~commentType();
    
    
    QString id();
    void setId(const QString& id);
    
    
    virtual Ast::AstTypes type() const;
    virtual QString toString() const;
    virtual void accept(IVisitor* visitor, const SimpleNodePtr& node);
    virtual void traverse(IVisitor* visitor);
private:
    QString _id;
};




#endif